package cn.cheegon.blog.entity.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @Desc:
 * @Author: cheegon
 * @Date: Create in 2024/6/25  下午4:06
 */
@Data
public class CmsBlogDto {

    private Long id;

    @Schema(description = "博客归属")
    private Long uid;

    @Schema(description = "昵称")
    private String nickname;

    @Schema(description = "头像")
    private String avatar;

    private Long appreciation;

    private Integer commentabled;

    private String content;

    @Schema(description = "内容(html)")
    private String html;

    private String description;

    private String firstPicture;

    private String flag;

    private Integer published;

    private Integer recommend;

    private Integer shareStatement;

    private String title;

    private Integer views;

    private Long typeId;

    private String typeName;

    private List<PmsTagDto> tagList;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;
}
